<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="ad_position">
    
{insert name='ads' id=$ads_id num=$ads_num}

    </th:block>
</html>